﻿using HK.Core.GUIEx.Attribute;
using HK.Core.GUIEx.Protocol.Attribute;
using HK.Core.Serializable.Protocol.Attribute;

namespace HK.Core.Serializable.Attribute
{
    
    /// <summary>
    /// Attribute - 序列化资产数据Body
    /// </summary>
    public class SBodyAttribute : GUIAttribute, ISBodyAttribute
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="iCaption">标题</param>
        /// <param name="iIcon">Icon</param>
        /// <param name="iTips">提示</param>
        /// <param name="iOptions">选项</param>
        public SBodyAttribute(string iCaption, string iIcon = null, 
            string iTips = null, int iOptions = (int)GUIOperateOptions.SBody)
        {
            Caption = iCaption;
            Icon = iIcon;
            Tips = iTips;
            Options = iOptions;
        }
        
        /// <summary>
        /// 保护构造函数
        /// </summary>
        protected SBodyAttribute() : base() {}
        
    }
    
}